/**
  ******************************************************************************
  * @file    DPC_Lib_Conf.h
  * @author  STMicroelectronics
  * @version 1.0.0
  * @date    09-Jun-2022
  * @brief   HW instantiation and configuration
  * @details This application example is a Buck PSU converter
  ******************************************************************************
  *
  * Copyright (c) 2022 STMicroelectronics.
  * All rights reserved.
  *
  * This software is licensed under terms that can be found in the LICENSE file in
  * the root directory of this software component.
  * If no LICENSE file comes with this software, it is provided AS-IS.
  ******************************************************************************
  */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __APP_LIB_CONF_H
#define __APP_LIB_CONF_H

#ifdef __cplusplus
extern "C" {
#endif

/* Includes ------------------------------------------------------------------*/
#include "stm32g4xx_hal.h"

/* -- APPLICATION IPs statement and instantiation ------------------------- */
/* DPC aliases of ADC_HandleTypeDef */
extern ADC_HandleTypeDef hadc1;
extern ADC_HandleTypeDef hadc2;
#define DPC_APPL_ADCx    hadc1                  /* Application Vout (scaled) */
#define DPC_APPL_ADCy    hadc2                  /* ADC Handle 2 */

/* DPC aliases of HRTIM_HandleTypeDef */
extern HRTIM_HandleTypeDef hhrtim1;
#define DPC_APPL_HRTIM   hhrtim1                /* Timer Handle 1 */

/* -- GPIO ports, pins & channels ------------------------------------------- */

/* Debug pinout assignment */
#define DEBUG_PORT              GPO1_GPIO_Port
#define DEBUG_PIN               GPO1_Pin

#ifdef __cplusplus
}
#endif

#endif  /*__APP_LIB_CONF_H*/

